package system

import (
	v1 "bottle/api/v1"
	"github.com/gin-gonic/gin"
)

type UserRouter struct{}

func (s *UserRouter) InitUserRouter(Router *gin.RouterGroup) {
	//userRouter := Router.Group("user").Use(middleware.OperationRecord())
	userRouter := Router.Group("bottle")
	baseApi := v1.ApiGroupApp.SystemApiGroup.BaseApi
	{
		userRouter.POST("setUserInfo", baseApi.SetUserInfo)       // 设置用户信息
		userRouter.GET("getUserInfo", baseApi.GetUserInfo)        // 设置用户信息
		userRouter.POST("setUserAddress", baseApi.SetUserAddress) // 设置用户信息
		userRouter.GET("getUserInfoByUUID", baseApi.GetUserInfoByUUID)        // 设置用户信息

	}

}
